package com.hangxiang.approval.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hangxiang.approval.common.FirstMenuInsertCommon;
import com.hangxiang.approval.common.FirstMenuUpdateCommon;
import com.hangxiang.approval.common.IntegerCommon;
import com.hangxiang.approval.entity.FirstMenu;
import com.hangxiang.approval.vo.FirstMenuVo;
import com.hangxiang.approval.vo.MenuListVo;

import java.util.List;

/**
 * (FirstMenu)表服务接口
 *
 * @author makejava
 * @since 2020-11-25 20:03:42
 */
public interface FirstMenuService extends IService<FirstMenu> {

    /**
     * 通过ID查询单条数据
     *
     * @param common 主键
     * @return 实例对象
     */
    FirstMenuVo queryById(IntegerCommon common);


    /**
     * 新增数据
     *
     * @param firstMenuInsertCommon 实例对象
     * @return 实例对象
     */
    Integer insertFirstMenu(FirstMenuInsertCommon firstMenuInsertCommon);

    /**
     * 修改数据
     *
     * @param firstMenuUpdateCommon 实例对象
     * @return 实例对象
     */
    Integer updateFirstMenu(FirstMenuUpdateCommon firstMenuUpdateCommon);


    MenuListVo selectAll();

}